package com.arges.web.domain.pojo;

import java.util.Date;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.SequenceGenerator;
import javax.persistence.Table;
import javax.persistence.Temporal;
import javax.persistence.TemporalType;

/**
 * 诊断治疗
 * 
 * @author zxj
 *
 */
@SuppressWarnings("serial")
@Entity
@Table(name = "p_treat")
public class Treat implements java.io.Serializable
{

	@Id
	@SequenceGenerator(name = "p_treat", sequenceName = "SEQ_P_TREAT")
	@GeneratedValue(generator = "p_treat", strategy = GenerationType.AUTO)
	private Long id;

	// 病历号
	@Column(name = "MRN")
	private String mrn;

	// 主治医师职工号
	@Column(name = "ENO")
	private String eno;

	// 治疗方式
	@Column(name = "THERARY")
	private String therary;

	// 治疗日期
	@Temporal(TemporalType.TIMESTAMP)
	@Column(name = "T_DATE")
	private Date t_date;

	// 备注
	@Column(name = "MEMO")
	private String memo;

	public Long getId()
	{
		return id;
	}

	public void setId(Long id)
	{
		this.id = id;
	}

	public String getMrn()
	{
		return mrn;
	}

	public void setMrn(String mrn)
	{
		this.mrn = mrn;
	}

	public String getEno()
	{
		return eno;
	}

	public void setEno(String eno)
	{
		this.eno = eno;
	}

	public String getTherary()
	{
		return therary;
	}

	public void setTherary(String therary)
	{
		this.therary = therary;
	}

	public Date getT_date()
	{
		return t_date;
	}

	public void setT_date(Date t_date)
	{
		this.t_date = t_date;
	}

	public String getMemo()
	{
		return memo;
	}

	public void setMemo(String memo)
	{
		this.memo = memo;
	}

}
